package com.aidong.stadium.biz.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.aidong.stadium.biz.MstBrandBiz;
import com.aidong.stadium.dao.MstBrandDao;

@Service("mstBrandBiz")
public class MstBrandBizImpl implements MstBrandBiz {
	
	private MstBrandDao brandDao;

	@Autowired
	public void setBrandDao(MstBrandDao brandDao) {
		this.brandDao = brandDao;
	}

	/**
	 * 品牌推荐
	 */
	@Override
	public List<Map<String, Object>> getMstBrand() {
		return brandDao.getMstBrand();
	}

	/**
	 * 品牌列表
	 */
	@Override
	public List<Map<String, Object>> getMstBrandMore(String brandName) {
		return brandDao.getMstBrandMore(brandName);
	}

	/**
	 * 品牌banner
	 */
	@Override
	public List<Map<String, Object>> getMstBrandBanner(int brandId) {
		return brandDao.getMstBrandBanner(brandId);
	}
	/**
	 * 品牌列表
	 * @return
	 */
	public List<Map<String, Object>> getMstBrandMoreNew(String foodId){
		return brandDao.getMstBrandMoreNew(foodId);
	}
}
